package com.you.modules.websocket.model;

import java.util.UUID;

public class Greeting {
    private String id;
    private String content;

    public Greeting() {
    }

    public Greeting(String content) {
        this.id = UUID.randomUUID().toString().toUpperCase().replaceAll("-", "");
        this.content = content;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
